<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/CustomTag" prefix="customTag"%>

<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：学生信息管理</span></div>
<div class="function_content">

<div class="addItem"><img src="../images/insert_icon.gif"><a href="preInsertStudents.action">添加学生信息</a></div>

<div class="search_function">
<form action="searchListStudents.action" method="get" name="search_form" id="search_form" >
<input type="hidden" name="intercept" value="1">
<div class="sub_form">学号：
  <input type="text" name="students.stuNum" id=students.stuNum value="<s:property value='students.stuNum' />"></div>
<div class="sub_form">姓名：
  <input type="text" name="students.stuName" id="students.stuName" value="<s:property value='students.stuName' />"></div>
<div class="sub_form">所属系所：
  <input type="text" name="students.departmentName" id="students.departmentName" value="<s:property value='students.departmentName' />"></div>
<div class="sub_form">所属专业：
  <input type="text" name="students.majorName" id="students.majorName" value="<s:property value='students.majorName' />"></div>
<div class="sub_form">所属班级：
  <input type="text" name="students.className" id="students.className" value="<s:property value='students.className' />"></div>
<div class="sub_form"><input type="submit" value="搜索" class="button"></div>
</form>
</div>

<form method="post" name="adminStudentsDel" id="adminStudentsDel" action="deleteMoreStudents.action" >
<input type="submit" name="submit" value="删除选中记录" class="button" onClick="return p_del();"/>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listTable">
  <tr class="title_line">
    <td><input type="checkbox" name="select_all" id="select_all" onClick="checkAll()" class="input_noborder"></td>
    <td>序号</td>
    <td>学号</td>
    <td>姓名</td>
    <td>所属系所</td>
    <td>所属专业</td>
    <td>所属班级</td>
    <td>添加时间</td>
    <td>更新时间</td>
    <td>操作</td>
  </tr>
<s:iterator value="listStudents" status="stat">
  <tr>
  	<td><input type="checkbox" name="students.stuIdString" id="allid" value="<s:property value='stuId' />" class="input_noborder"></td>
    <td><s:property value="#stat.getIndex()+1" /></td>
    <td><s:property value="stuNum" /></td>
	<td><s:property value="stuName" /></td>
	<td><s:property value="departmentName" /></td>
	<td><s:property value="majorName" /></td>
	<td><s:property value="className" /></td>
    <td><s:property value="gmtCreatedString" /></td>
    <td><s:property value="gmtModifiedString" /></td>
    <td><div class="br_line"><a href="preUpdateStudents.action?students.stuId=<s:property value='stuId' />">编辑</a> </div><div class="br_line">
<a href="deleteStudents.action?students.stuId=<s:property value='stuId' />" onClick="return p_del();">删除</a></div></td>
  </tr>
 </s:iterator>
</table>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>
<input type="submit" name="submit" value="删除选中记录" class="button" onClick="return p_del();"/>
</form>
</div>

<%@ include file="../Main/bottom.jsp"%>

